package moodish.dummy;

import static org.junit.Assert.*;

import java.io.ObjectOutputStream;

import moodish.comm.Cliente;

import org.junit.Test;

public class ClientInformationTest {

	@Test
	public void testClientInformation() {
		ClientInformation cl = new ClientInformation(null, null);
		assertNotNull(cl);
	}
	
	@Test
	public void testnick(){
		ClientInformation cl = new ClientInformation("luis", null);
		assertSame("luis", cl.getNick());
	}
	
	@Test
	public void setNick(){
		ClientInformation cl = new ClientInformation(null, null);
		assertNull(cl.getNick());
		cl.setNick("luis");
		assertSame("luis", cl.getNick());
	}
}
